export default defineEventHandler(async (event): Promise<ReplyFineOrNot<VideoInfoType>> => {
  const level = getRouterParam(event, 'level')
  const storage = useStorage("data");
  const videoSrc = await storage.getItem<VideoInfoType>("video")
  if (videoSrc === null) 
    return { msg: 'no data' }
  
  return { msg: 'ok', data: videoSrc }
})
